package com.ruoyi.ftrl.domain.Dto;

import lombok.Data;

@Data
public class HourlyForecast {

    private String time;
    private String temperature;
    private String weatherText;

    public HourlyForecast(String time, String temperature, String weatherText) {
        this.time = time;
        this.temperature = temperature;
        this.weatherText = weatherText;
    }

    @Override
    public String toString() {
        return "时间：" + time + ", 温度：" + temperature + "°C, 天气：" + weatherText;
    }
}
